package com.hongli.blog.service.impl;

import com.hongli.blog.entity.BlogContentDao;
import com.hongli.blog.service.BlogContentservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author ZERO
 * @Date 2021/11/12 13:55
 **/
@Service
public class BlogContentserviceimpl implements BlogContentservice {
    @Autowired
    private BlogContentservice blogContentservice;

    @Override
    public List<BlogContentDao> SelectAllBlogContent(){
        return blogContentservice.SelectAllBlogContent();
    }

    @Override
    public BlogContentDao SelectUserBlogContent(int contentid){
        return blogContentservice.SelectUserBlogContent(contentid);
    }

    @Override
    public void insertBlogContent(BlogContentDao blogContentDao){
        blogContentservice.insertBlogContent(blogContentDao);
    }
}
